import type { XtxGuessInstance } from '@/types/components'
import { ref } from 'vue'

export const useGuessList = () => {
  // 获取猜你喜欢组件实例
  const guessRef = ref<XtxGuessInstance>()
  const onScrolltolower = () => {
    console.log('触底事件----------------')
    guessRef.value?.getMore()
  }

  return { guessRef, onScrolltolower }
}
